<ul>
    {% for post in posts %}
    <li>
        <a href="/post/{{post.id}}">{{post.title}}</a>
    </li>
    {% endfor %}
</ul>